/*
 * SUDSSensorMinion.h
 *
 *  Created on: Jun 22, 2011
 *      Author: jrodrig9
 */

#ifndef SUDSSENSORMINION_H_
#define SUDSSENSORMINION_H_


#include <time.h>
#include <stdio.h>

class SUDSSensorMinion {
private:
	int leftSensorState;
	int rightSensorState;
	time_t start;
	double detection_threshold;
	double potential_threshold;
	int* getRealData();
	int* getFakeData();
	int check_against_threshold(int);
public:
	SUDSSensorMinion();
	FILE *fp1;
	FILE *fp2;
	void checkSensors();
	int getLeftSensorState();
	int getRightSensorState();
	void initalize_GPIOs();
};

#endif /* SUDSSENSORMINION_H_ */
